import { Date, Entity, PrimaryUuid, Time, Uuid } from "@sker/core";


@Entity({
    name: 'wx_time'
})
export class WxTime {
    @PrimaryUuid()
    id: string;

    @Date()
    start: Date;

    @Date()
    end: Date;

    @Time()
    open: Date;

    @Time()
    close: Date;

    @Uuid({ nullable: true })
    agent_id: string;

    @Uuid({ nullable: true })
    shop_id: string;

    @Uuid({nullable: true})
    aid: string;
}
